package com.woniu.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.pojo.User;
import com.woniu.vo.UserQueryVo;
import com.woniu.vo.UserWithCarListVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Energy
 * @since 2022-10-12
 */
public interface IUserService extends IService<User> {

    Page<User> queryPage(UserQueryVo userQueryVo, Long currentPage, Long pageSize);

    Page<UserWithCarListVo> queryWithCarListWithOrderListPage(UserQueryVo userQueryVo, Long currentPage, Long pageSize);

    User searchByWechat(String wechat);

    Boolean insertPhone(long id, String phone);
}
